Thanks again for this module, Stuart.

I'd like to be able to separate video, audio and slide shows in Views. For this I need three different node types and for that I need three different content types. The problem there is that each content type must have a unique path and to bring up the flash file upload and get all the subsequent conversions or whatever, the path has to be flashnode for all three. So it doesn't work that way. It would be easy if Views let you differentiate by file type (flv vs. mp3 vs. whatever), but it doesn't.

Is it possible to enable a module to support more than one content type? Could this be done for Flash Node?

I'll keep looking for a work around, but so far this seems like the only option other than expanding Views' differentiations. I'll see what I can get the Views folks to do.

It's probably best, though, to just have different content types driven by the same module, one reason being that slide files may be of the same type as videos.

Comments

dleeward’s picture

Would adding a taxonomy tag for the type of content work for you?

markpenny’s picture

Possibly. I don't make much elegant use of taxonomy on my site and I think that if other users have to work with taxonomy, there'll just be disappointment. That's why I'd prefer something deeper down. However, I will give it a shot. Short-term solutions.

I've actually come up with three long-term solutions that would really increase the power of Drupal.

First, let individual modules generate multiple content types. Flash Node, for example, could be configured to generate Audio, Slide and Video content types.

Second, let content type creation draw on any module to create a new content type.

Third, let views draw nodes by file extension.

markpenny’s picture

Just so you know, dleeward, your suggestion seems to work. My video view takes only Flash nodes with the tag Video. My slide show view is acting a bit strangely, though. In the Views page preview, only Flash nodes with the tag Video display, but in the actual view, only Diaporamas display. Bit of a problem. I'll have to keep looking into it. Probably has a simple explanation and a simpler cure.

I've preempted the user confusion problem by making the tag required and providing a drop-down list to choose from. Pretty elegant. I'll take it.

Thanks again.

markpenny’s picture

Status: Active » Fixed

Consider this issue fixed unless you want to take a stab at implementing one of my deeper-seated suggestions (comment 2).

markpenny’s picture

Silly me. The problem with the Slide show view was that I added a Taxonomy filter for Flash as one of "Slide show". This knocked Diaporama out of the preview and, somehow, Flash out of the view. The solution was to add a taxonomy filter for Flash as none of "Audio, Video". This knocked Flash Audio and Video nodes out of the view and allowed Diaporama and Flash Slide show nodes to remain.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.